package com.ontheroad.api.request;

import javax.validation.constraints.NotNull;

/**
 * Created by kedong on 2017/8/23 0023.
 */
public class VersionRequest extends Request {
    private static final long serialVersionUID = -8031709874435676325L;

    public interface checkNewVersion {
    }

    /**
     * 当前app版本号
     */
    @NotNull(groups = {checkNewVersion.class})
    private Integer versionNum;

    /**
     * 平台类型(1：安卓；2：IOS）
     */
    @NotNull(groups = {checkNewVersion.class})
    private Integer type;

    public Integer getVersionNum() {
        return versionNum;
    }

    public void setVersionNum(Integer versionNum) {
        this.versionNum = versionNum;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}
